Add option to automatically mark file as reviewed on open#8238
Draft
Add option to automatically mark file as reviewed on open#8238
Conversation
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot stopped work on behalf of
alexr00 due to an error
December 9, 2025 11:38
alexr00
requested changes
Dec 18, 2025
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Contributor
Author
Implementation completed! All checks passed: ✅ Linting and hygiene checks The feature adds a new Commit: 700075c |
Copilot
AI
changed the title
[WIP] Add option to automatically mark file as reviewed on open
Add option to automatically mark file as reviewed on open
Dec 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation Plan for Auto-Mark Files as Viewed on Open
githubPullRequests.markAsViewedOnOpento package.jsonvscode.workspace.onDidOpenTextDocumentin extension.tspullRequest.markFiles()when a PR file is openedSummary
This PR adds a new configuration setting
githubPullRequests.markAsViewedOnOpenthat allows users to automatically mark files as viewed when they open them in the editor. This is particularly useful for reviewing large pull requests with many files.Changes Made
githubPullRequests.markAsViewedOnOpensetting (boolean, default: false) in package.json with localization supportworkspace.onDidOpenTextDocumentevents in extension.tsThe implementation follows the existing patterns in the codebase and integrates seamlessly with the existing mark-as-viewed functionality.
Quality Checks
<issue_title>Automatically set reviewed on file view</issue_title>
><issue_description>Related to scenario described here: #3513
>
> >I am in the process of reviewing a change to over 200 files. (yes, I know...)
> >
> >I run VSCode with
"workbench.editor.enablePreview": false(yes, I know.. I am a tab binger)>
> A "nice to have" would be an option to automatically mark as viewed when I open the file. Maybe
githubpullrequest.markAsViewedOnFileOpen, for this large checkin review a lot of workflow friction would be eliminated.>
> Thanks!</issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
>
><comment_new>@alexr00
> @joshuaobrien yes, I would accept a PR for this feature.</comment_new>
>
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.